<?php
use yii\helpers\Url;
use yii\helpers\Html;
use yii\widgets\ActiveForm;

/* @var $this yii\web\View */
/* @var $model app\models\Classname */
/* @var $form yii\widgets\ActiveForm */
?>

<div class="classname-form">

    <?php $form = ActiveForm::begin(); ?>

    <?= $form->field($model, 'yey_id')->textInput() ?>

    <?= $form->field($model, 'class_name')->textInput(['maxlength' => true]) ?>

    <?= $form->field($model, 'fengcun_time')->textInput() ?>
    <div class="form-group">
        <?= Html::submitButton($model->isNewRecord ? '添加' : '保存', ['class' => $model->isNewRecord ? 'btn btn-success' : 'btn btn-primary']) ?>
        <?= Html::a('返回',['index'], ['class' =>'btn btn-warning' ]) ?>

    </div>

    <?php ActiveForm::end(); ?>

</div>
